package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * 中标通知
 * 数据库通用操作实体类（普通增删改查）
 * @author 
 * @email 
 * @date 2022-04-19 23:38:24
 */
@TableName("zhongbiaotongzhi")
public class ZhongbiaotongzhiEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public ZhongbiaotongzhiEntity() {
		
	}
	
	public ZhongbiaotongzhiEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
	@TableId
	private Long id;
	/**
	 * 投标编号
	 */
					
	private String toubiaobianhao;
	
	/**
	 * 商品名称
	 */
					
	private String shangpinmingcheng;
	
	/**
	 * 规格
	 */
					
	private String guige;
	
	/**
	 * 报价
	 */
					
	private Float baojia;
	
	/**
	 * 中标时间
	 */
				
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat 		
	private Date zhongbiaoshijian;
	
	/**
	 * 通知内容
	 */
					
	private String tongzhineirong;
	
	/**
	 * 供应编号
	 */
					
	private String gongyingbianhao;
	
	/**
	 * 供应名称
	 */
					
	private String gongyingmingcheng;
	
	
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：投标编号
	 */
	public void setToubiaobianhao(String toubiaobianhao) {
		this.toubiaobianhao = toubiaobianhao;
	}
	/**
	 * 获取：投标编号
	 */
	public String getToubiaobianhao() {
		return toubiaobianhao;
	}
	/**
	 * 设置：商品名称
	 */
	public void setShangpinmingcheng(String shangpinmingcheng) {
		this.shangpinmingcheng = shangpinmingcheng;
	}
	/**
	 * 获取：商品名称
	 */
	public String getShangpinmingcheng() {
		return shangpinmingcheng;
	}
	/**
	 * 设置：规格
	 */
	public void setGuige(String guige) {
		this.guige = guige;
	}
	/**
	 * 获取：规格
	 */
	public String getGuige() {
		return guige;
	}
	/**
	 * 设置：报价
	 */
	public void setBaojia(Float baojia) {
		this.baojia = baojia;
	}
	/**
	 * 获取：报价
	 */
	public Float getBaojia() {
		return baojia;
	}
	/**
	 * 设置：中标时间
	 */
	public void setZhongbiaoshijian(Date zhongbiaoshijian) {
		this.zhongbiaoshijian = zhongbiaoshijian;
	}
	/**
	 * 获取：中标时间
	 */
	public Date getZhongbiaoshijian() {
		return zhongbiaoshijian;
	}
	/**
	 * 设置：通知内容
	 */
	public void setTongzhineirong(String tongzhineirong) {
		this.tongzhineirong = tongzhineirong;
	}
	/**
	 * 获取：通知内容
	 */
	public String getTongzhineirong() {
		return tongzhineirong;
	}
	/**
	 * 设置：供应编号
	 */
	public void setGongyingbianhao(String gongyingbianhao) {
		this.gongyingbianhao = gongyingbianhao;
	}
	/**
	 * 获取：供应编号
	 */
	public String getGongyingbianhao() {
		return gongyingbianhao;
	}
	/**
	 * 设置：供应名称
	 */
	public void setGongyingmingcheng(String gongyingmingcheng) {
		this.gongyingmingcheng = gongyingmingcheng;
	}
	/**
	 * 获取：供应名称
	 */
	public String getGongyingmingcheng() {
		return gongyingmingcheng;
	}

}
